<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<html class="no-js">
<!--<![endif]-->

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" th:href="@{./assets/css/bootstrap.min.css}" type="text/css">
    <link rel="stylesheet" th:href="@{css/style.css}">
    <link rel="stylesheet" th:href="@{css/modernforms.css}">
    <link rel="stylesheet" th:href="@{css/font-awesome.min.css}">
</head>

<body class="mdn-bg">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-light bg-light justify-content-between">
    <div class="container">
        <a class="navbar-brand" style="font-size:24px;">网上就医</a>
        <form class="form-inline">
            <button class="btn btn-outline-primary  mr-sm-2" type="submit">登录</button>
            <button class="btn btn-outline-success my-2 my-sm-0" type="submit" style="border:0">注册</button>
            <button class="btn btn-outline-success my-2 my-sm-0" style="border:0"><a href="/personalPage">个人中心</a></button>
        </form>
    </div>
</nav>

<div class="modern-forms">
    <div class="modern-container mc2">
        <form  th:action="@{/addS}" th:method="post" th:object="${orlist}">
            <fieldset>
                <div class="field-group">
                    <input type="text" class="mdn-input" placeholder="请输入您的姓名" name="uname">
                    <label class="mdn-label">姓名 </label>
                    <span class="mdn-bar"></span>
                </div>


            </fieldset>

            <fieldset>
                <div class="field-group mdn-select">
                    <select name="usex">
                        <option value="男" th:selected="${usex=='男'}">男</option>
                        <option value="女" th:selected="${usex=='女'}">女</option>
                    </select>
                    <label class="mdn-label">性别 </label>
                    <span class="mdn-bar"></span>
                </div>
                <div class="field-group">
                    <input type="text" class="mdn-input" placeholder="请输入您的年龄" name="uage">
                    <label class="mdn-label">年龄 </label>
                    <span class="mdn-bar"></span>
                </div>
                <div class="field-group">
                    <input type="text" class="mdn-input" placeholder="+86" name="uphone">
                    <label class="mdn-label">电话</label>
                    <span class="mdn-bar"></span>
                </div>
                <div class="field-group">
                    <input type="text" class="mdn-input" placeholder="请输入您的住址" name="uaddress">
                    <label class="mdn-label">住址 </label>
                    <span class="mdn-bar"></span>
                </div>
                <div class="field-group mdn-select">
                    <select name="uhospital">
                        <option value="大连市第一人民医院" th:selected="${uhospital=='大连市第一人民医院'}">大连市第一人民医院</option>
                        <option value="医大二院" th:selected="${uhospital=='医大二院'}">医大二院</option>
                        <option value="海口市神经医院" th:selected="${uhospital=='海口市神经医院'}">海口市神经医院</option>
                        <option value="华阴市儿童医院" th:selected="${uhospital=='华阴市儿童医院'}">华阴市儿童医院</option>
                    </select>
                    <label class="mdn-label">选择医院</label>
                    <span class="mdn-bar"></span>
                </div>

                <div class="field-group mdn-select">
                    <select name="ucategory">
                        <option value="脑科" th:selected="${ucategory=='脑科'}">脑科</option>
                        <option value="神经科" th:selected="${ucategory=='神经科'}">神经科</option>
                    </select>
                    <label class="mdn-label">选择科室</label>
                    <span class="mdn-bar"></span>
                </div>
                <div class="field-group">
                    <input type="text" class="mdn-input" placeholder="请输入预定时间" name="udate">
                    <label class="mdn-label">输入时间 </label>
                    <span class="mdn-bar"></span>
                </div>
            </fieldset>
            <fieldset>
                <div class="mdn-label-pos block-label"><label class="mdn-label"> 服务条款 </label></div>
                <div class="mdn-group block-group mdn-bottom-border">
                    <label class="mdn-switch">
                        <input type="checkbox" name="terms" checked>
                        <span class="switch-toggle"></span>
                        <span class="switch-label">我同意就医网的隐私条款</span>
                    </label>
                </div><!-- mdn-group -->
            </fieldset>
            <div class="mdn-footer">
                <button type="submit" class="mdn-button btn-primary">挂号</button>
                <button type="reset" class="mdn-button btn-flat">取消</button>
            </div>
        </form>
    </div><!-- modern-container -->
</div><!-- modern-forms -->


<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script th:src="@{https://code.jquery.com/jquery-3.3.1.slim.min.js}"
        integrity="@{sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
        crossorigin="anonymous"></script>
<script th:src="@{https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js}"
        integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
        crossorigin="anonymous"></script>
<script th:src="@{./assets/js/bootstrap.min.js}" async defer></script>
</body>

</html>